@import '../common/variables';

.office-correlation-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #f1f1f1;
    .order-header {
        padding: 15px;
        background-color: $color-white;
        .order-num-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 6px;
            font-size: 18px;
            font-weight: 500;
            color: $color-brand4;
        }
        .order-time-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 6px;
            font-size: 12px;
            position: relative;
            &::after {
                content: '';
                display: block;
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                height: 1px;
                background-color: #d8d8d8;
                transform: scaleY(0.5);
            }
            .time {
                color: #ff7034;
                opacity: 0.8;
            }
        }
    }
    .office-tip {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3px 22px;
        margin: 7px 13px;
        font-size: 12px;
        color: #fff;
        background-color: #ffaa2d;
        .office-tip-title {
            width: 110px;
            white-space: nowrap;
        }
        .office-tip-text {
            padding-right: 10px;
        }
    }

    .complete-order {
        .complete-order-group {
            margin-top: 8px;
        }
        .weui-cells__title {
            margin: 0;
            padding: 0 0 7px 13px;
            font-size: 12px;
        }
        .weui-cells::before,
        .weui-cells::after {
            border: none;
        }
        //各科室接单医生统计
        .complete-order-list {
            padding-bottom: 25px;
            font-size: 12px;
            background-color: $color-white;
        }
        .list-th,
        .list-td {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        .list-th {
            padding: 12px 30px 7px 15px;
            color: $color-brand4;
            margin-bottom: 9px;
            position: relative;
            &::after {
                content: '';
                display: block;
                position: absolute;
                left: 13px;
                right: 13px;
                bottom: 0;
                height: 1px;
                background-color: #d8d8d8;
                transform: scaleY(0.5);
            }
        }
        .list-td {
            padding: 0 30px 0 15px;
            &:not(:nth-child(2)) {
                margin-top: 14px;
            }
        }
        .list-name {
            width: 100px;
            word-break: break-all;
        }
        .list-tel {
            margin-left: -50px;
            width: 77px;
            text-align: left;
            white-space: nowrap;
        }
        .list-order-num {
            width: 55px;
            text-align: right;
            white-space: nowrap;
        }

        //已完成统计页面、添加科室
        .office-list {
            font-size: 18px;
            padding-bottom: 24px;
            .weui-cell {
                padding: 14px 15px;
                position: relative;
                &::before {
                    left: 12px;
                    right: 12px;
                    border-color: #d8d8d8;
                }
                &:nth-last-child(1)::after {
                    content: '';
                    display: block;
                    position: absolute;
                    left: 12px;
                    right: 12px;
                    bottom: 0;
                    height: 1px;
                    border-top: 1px solid #d8d8d8;
                    transform: scaleY(0.5);
                }
            }
            .weui-cell__bd {
                p {
                    display: flex;
                    align-items: center;
                    img {
                        display: none;
                        margin-left: 11px;
                        width: 25px;
                    }
                }
            }
            .em {
                color: $color-brand4;
                .weui-cell__ft {
                    color: $color-brand4;
                }
                p img {
                    display: block;
                }
            }
        }
    }
}
